<!-- 权限设置 -->
<extend name="Public:layout" />
<block name="title"><{$authName}></block>

<block name="pluginCSS">
<link rel="stylesheet" type="text/css" href="__PUBLIC__/Admin/plugins/select2/select2.css"/>
<link rel="stylesheet" type="text/css" href="__PUBLIC__/Admin/plugins/select2/select2-metronic.css"/>
<link rel="stylesheet" href="__PUBLIC__/Admin/plugins/data-tables/DT_bootstrap.css"/>
</block>

<block name="loadJS">
<script type="text/javascript" src="__PUBLIC__/Admin/plugins/select2/select2.min.js"></script>
<script type="text/javascript" src="__PUBLIC__/Admin/plugins/data-tables/jquery.dataTables.js"></script>
<script type="text/javascript" src="__PUBLIC__/Admin/plugins/data-tables/fnReloadAjax.js"></script>
<script type="text/javascript" src="__PUBLIC__/Admin/plugins/data-tables/DT_bootstrap.js"></script>
<script src="__PUBLIC__/admin/scripts/layer/layer.js" type="text/javascript"></script>
</block>

<block name="setJS">
<script src="__PUBLIC__/Admin/scripts/custom/tableAuth.js"></script>

<script>
var ajaxUrl="<{:U('index')}>";
</script>
</script>
</block>

<block name="initJS">
TableAuth.init();	
</block>

<block name="pagetitle">权限的增删改查</block>
<block name="page">
	<!-- BEGIN PAGE CONTENT-->
			<div class="row">
				<div class="col-md-12">
					<!-- BEGIN EXAMPLE TABLE PORTLET-->
					<div class="portlet">
						<div class="portlet-title">
							<div class="caption">
								<i class="fa <{$authIco}>"></i><{$authName}>
							</div>
							<div class="actions">
								<a href="#" class="btn default green-stripe" id="table_auth_new">
									<i class="fa fa-plus"></i>
									<span class="hidden-480">
										 添加权限
									</span>
								</a>
							</div>
						</div>
						<div class="portlet-body">
							<table class="table table-striped table-hover table-bordered" id="table_auth">
							</table>
						</div>
					</div>
					<!-- END EXAMPLE TABLE PORTLET-->
				</div>
			</div>
			<!-- END PAGE CONTENT -->
</block>



